package com.enjoyor.soa.traffic.restt.tpcms.dubbo;

import java.util.List;

import com.enjoyor.soa.traffic.api.dto.tpcms.InfoWhiteListDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IWhiteListConsumeService {

    @SuppressWarnings("rawtypes")
    public ResultPojo getWhiteListPage(Page page);

    public ResultPojo getWhiteListList(String whiteListId, String licenseNumber, String licenseTypeId,
            String vehicleTypeId, String funTypeId, String vehicleDept);

    public ResultPojo insertWhiteList(InfoWhiteListDto infoWhiteList, String userName);

    public ResultPojo editWhiteList(InfoWhiteListDto infoWhiteList, String userName);

    public ResultPojo deleteWhiteList(String whiteListId, String userName);

    /**
     * 批量导入白名单车辆
     * 
     * @param whiteLists
     * @param userName
     */
    public ResultPojo insertBatch(List<InfoWhiteListDto> whiteLists, String userName);

}
